home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML Authority.sea / XML Authority / Required / swingall.jar / javax / swing / text / GapContent$StickyPosition.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  973 b   |  25 lines

  1. package javax.swing.text;
  2.  
  3. final class GapContent$StickyPosition implements Position {
  4.    // $FF: synthetic field
  5.    private final GapContent this$0;
  6.    GapContent.MarkData mark;
  7.  
  8.    GapContent$StickyPosition(GapContent var1, GapContent.MarkData var2) {
  9.       this.this$0 = var1;
  10.       this.mark = var2;
  11.    }
  12.  
  13.    protected void finalize() throws Throwable {
  14.       this.mark.dispose();
  15.    }
  16.  
  17.    public final int getOffset() {
  18.       return this.mark.getOffset();
  19.    }
  20.  
  21.    public String toString() {
  22.       return Integer.toString(this.getOffset());
  23.    }
  24. }
  25.